//
//  USMemorialDayModel.h
//  us
//
//  Created by lhx on 2025/4/29.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface USMemorialDayModel : NSObject

@property (nonatomic, strong) NSString *anniversaryId;

@property (nonatomic, strong) NSString *coverUrl;//贴纸封面图片(可选)目前本地

@property (nonatomic, strong) NSString *color;//主题颜色(hex色值，如#FF6F61)

@property (nonatomic, strong) NSString *anniversaryName;//纪念日名称

@property (nonatomic, strong) NSString *anniversaryDate;//

@property (nonatomic, assign) BOOL includeStart;//是否包含起始日

@property (nonatomic, assign) BOOL repeatYearly;//是否每年重复

@property (nonatomic, assign) BOOL homePageFlag;//是否显示在首页

@property (nonatomic, assign) BOOL togetherFlag;//在一起的纪念日，不能删除

/// 日期描述
- (NSString *)dayDescription;
/// 天数 （判断是否是今天使用，0表示今天）
- (NSInteger)countdownToDate:(NSDate *)date;
/// 天数 （包含是否含有起始日过后）
- (NSInteger)dayCount;
/// 周几
- (NSString *)weekDay;

- (NSMutableAttributedString *)dayAttributeWithFontSize:(NSInteger)fontSize;

@end


@interface USMemorialDaySuperModel : NSObject
@property (nonatomic, strong) USMemorialDayModel *homePageAnniversary;
@property (nonatomic, strong) NSArray <USMemorialDayModel *> *noRepeatYearlylist;
@property (nonatomic, strong) NSArray <USMemorialDayModel *> *repeatYearlylist;

@end

NS_ASSUME_NONNULL_END
